package com.zd.wechatPlatform.service;

import java.util.List;

import com.zd.wechatPlatform.bean.model.BaseModel;
import com.zd.wechatPlatform.dao.common.BaseDao;
import com.zd.wechatPlatform.dao.common.FindRequestEntity;
import com.zd.wechatPlatform.dao.common.Page;

public interface IBaseService<T extends BaseModel>  {
	BaseDao<T> getBaseDao();
	void insert(T t);
	int update(T t);
	List<T> find(FindRequestEntity param);
	T get(Integer id);
	int del(Integer id);
	Page<T> page(FindRequestEntity param);
}
